﻿using System;
using System.ComponentModel.DataAnnotations;

namespace MiniWeb.Web.Controllers.Admin.NewsTypeManager.ViewModels
{



    public class SaveNewsType
    {

        public int? ID { get; set; }

        [Display(Name = "新闻类别"), Required(ErrorMessage = "请输入！")]
        public string TypeName { get; set; }

        [Display(Name = "排序"), Required(ErrorMessage = "请输入！")]
        public int Sort { get; set; }

        public DateTime CreateDate { get; set; }

        [Display(Name = "顶级类别"), Required(ErrorMessage = "请输入！")]
        public int ParentType { get; set; }




    }
}